/* 
 * File:   engexeption.cpp
 * Author: Satan
 * 
 * Created on September 9, 2012, 1:11 PM
 */

#include "exceptions/engexeption.h"

engexeption::engexeption(long int errorcode, std::string errorstring) : m_errorcode(errorcode), m_errorstring(errorstring)
{
}

engexeption::engexeption(const engexeption& orig) 
{
    m_errorcode = orig.m_errorcode;
    m_errorstring = orig.m_errorstring;
}

engexeption::~engexeption()
{
}

std::string engexeption::getMessage()
{
    return m_errorstring;
}
long int engexeption::getCode()
{
    return m_errorcode;
}

